<template>
	<view class="comAll">
		<text>
			{{formatTime(date, 'Y-M-D h:m:s')}}
		</text>
	</view>
</template>

<script>
	import {
		formatTime
	} from '@/utils/tools.js'
	export default {
		props:{
			date: String,
		},
		data(){
			return {
				
			}
		},
		methods:{
			formatTime,
		}
	}
</script>

<style scoped>
	.comAll{
		display: flex;
		margin: 30upx 0;
	}
	.comAll text{
		margin: 0 auto;
		font-size: 24upx;
		color:#888888;
		text-align: center;
	}
</style>
